home *** CD-ROM | disk | FTP | other *** search
/ System Booster / System Booster.iso / Archives / GNU / ags_000.lha / gs261ilbmpacker.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-07-15  |  736 b   |  22 lines

  1. #ifndef ILBMPACKER_H
  2. #define ILBMPACKER_H
  3. /*----------------------------------------------------------------------*
  4.  * ILBMPACKER.H  typedefs for Data-Compresser.           1/22/86
  5.  *
  6.  * This module implements the run compression algorithm "cmpByteRun1"; the
  7.  * same encoding generated by Mac's PackBits.
  8.  *
  9.  * By Jerry Morrison and Steve Shaw, Electronic Arts.
  10.  * This software is in the public domain.
  11.  *
  12.  * This version for the Commodore-Amiga computer.
  13.  *----------------------------------------------------------------------*/
  14.  
  15. /* This macro computes the worst case packed size of a "row" of bytes. */
  16. #define MaxPackedSize(rowSize)  ( (rowSize) + ( ((rowSize)+127) >> 7 ) )
  17.  
  18. long PackRow(unsigned char *,unsigned char *,long);
  19.  
  20. #endif
  21.  
  22.